package com.web.action;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.web.common.Sys;
import com.web.model.TWinNum;

@Controller
@RequestMapping("sys")
public class SysAction {
	
	@Resource(name="sys")
	private Sys sys;
	
	@RequestMapping("trans_win_num")
	public void transWinNum(TWinNum win){
		sys.setLastTermcd(win.getTermCd());
		sys.setLastWinNum(win);
		sys.setTime(win.getWinTime());
	}
}
